package ch1;

import java.util.Scanner;

public class Zuoye03045 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请分别输入张浩的数学和英语以及语文成绩：");
        double mathematics=scan.nextDouble();
        double language=scan.nextDouble();
        double english=scan.nextDouble();
        if (mathematics==100&&language>=60&&english>=60){
            System.out.println("恭喜你获得iphone x作为奖励");
        }
        else if (language==100&&mathematics>=60&&english>=60){
            System.out.println("恭喜你获得iphone x作为奖励");
        }
        else if (english==100&&mathematics>=60&&language>=60){
            System.out.println("恭喜你获得iphone x作为奖励");
        }
        else {
            System.out.println("很遗憾你没有获得奖励");
        }
    }
}
